<?php
	session_start();
	header("Cache-Control: no-store, no-cache, must-revalidate");
if ( (session_is_registered('sesId') || session_is_registered('cvecliente')) ){
		require('templates/func_consulta_cliente.php');	?>
		<html xmlns="http://www.w3.org/1999/xhtml">
		<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />	
		<script type="text/javascript" src="javascripts/prototype.js"> </script> 
		<script type="text/javascript" src="javascripts/effects.js"> </script>
		<script type="text/javascript" src="javascripts/window.js"> </script>
		<script type="text/javascript" src="javascripts/window_effects.js"> </script>
		<script type="text/javascript" src="javascripts/debug.js"> </script>
		<link href="themes/default.css" rel="stylesheet" type="text/css" >	 </link>
		<link href="themes/alphacube.css" rel="stylesheet" type="text/css" >	 </link>
			<LINK REL="stylesheet" TYPE="text/css" HREF="css/style.css">
			<script src="./templates/morsa.js?ms=<?php echo time() ?>"></script>
		<title>GRUPO MORSA</title>
		</head>
		<body>
		<script>
			var index= 0;
			var contentWin = null;
			var win;
			
			
		</script>
				<center><h5>Listado de Pedidos</h5></center>
				<br>
				<div id="footer"></div>

			             <?php echo detalle_pedido($folio); ?>


				


		</body>
		</html>

		<?php
			

}else{
	header("LOCATION:index.php");
}
?>
